package com.rede.didiok.rank.dao;

import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rede.didiok.rank.entity.MemberGradeEntity;

/**
 * 排行榜中的等级称号
 * 
 * @author Rede
 * @email didiok@foxmail.com
 * @date 2023-07-20 22:09:24
 */
@Mapper
public interface MemberGradeDao extends BaseMapper<MemberGradeEntity> {

    /**
     * 根据 memberId 查询榜单成员的等级信息
     * @param gradeUid
     * @return
     */
    MemberGradeEntity selectGradeNameByGradeId(String gradeUid);
}
